home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 3-Pak 2 - Disc 2
/
Infomagic - Windows 3-Pak Volume 2 (Disc 2 of 3).iso
/
Chat---IRC
/
TURBOIRC.ZIP
/
data1.cab
/
TurboIRC_Scripts
/
AHANGMANGAME.txt
< prev
next >
Wrap
Text File
|
1999-05-05
|
887b
|
32 lines
string _Word = AskInput("Hang - Man TurboIRC Game","Enter the hidden word :","")
if (_Word == "")
return
endif
if (FindStringPos(_Word," ") != -1)
/message No spaces please !
return
endif
staticstring GuessWord = strupr(_Word)
staticint HangTries = 0
int L = strlen(GuessWord)
string S = sprintf("%i",L)
DeleteFile(".\\HGWORD.INI")
SetString("Word","Size",S,".\\HGWORD.INI")
/display $channel ***WELCOME To TurboIRC Hang-Man Game !!***
/display $channel ***you have 10 tries to guess the hidden word!!***
/display $channel ***enter !letter and a letter to try to complete the word !!***
/display $channel ***Example : !letter B***
/display $channel ***enter !word and a word to try to guess the word !!***
/display $channel ***Example : !word funny***
/display $channel ***Total Letters in word : %L%***
/_event HANGMANGAME 5 0 0 *